<?php
namespace Home\Controller;
use Think\Controller;
use Common\wx\wxOuth;
class IndexController extends Controller {
    public function index(){
        $wxOuth = new wxOuth();
        $res = $wxOuth->getOpenidByBaseOauth();
        dump($res);
    }
    public function test(){
    	$wxOuth = new wxOuth();
        $res = $wxOuth->getWeixinUserinfoByUserOauth();
    }
}